import { NgModule }      from '@angular/core';
import { CommonModule }  from '@angular/common';
import { TripComponent } from './trip.component';
import { StopComponent } from './stop/stop.component';
import { StopDetailComponent } from './stop/stop-detail.component';
import { routing } from './trip.routing';
import { TripService } from './trip.service';
import { StopService } from './stop/stop.service';
import { TripDetailComponent } from './trip-detail.component';
import { FormsModule } from '@angular/forms';
// import { BrowserModule } from '@angular/platform-browser';
import { HttpModule} from '@angular/http';
import { NgaModule } from '../../theme/nga.module';
import { CarrierService } from '../carrier/carrier.service';
import { BusService } from '../bus/bus.service';
import { DriverService } from '../driver/driver.service';

@NgModule({
  imports: [
    // BrowserModule,
    FormsModule,
    // HttpModule,
    CommonModule,
    routing,
    NgaModule,
  ],
  providers: [
      TripService,
      StopService,
      CarrierService,
      BusService,
      DriverService,
  ],
  declarations: [
    TripDetailComponent,
    TripComponent,
    StopComponent,
    StopDetailComponent
  ]
})
export default class TripModule {}